
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <title>入门指南 · GitBook</title>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.1.1">
        
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-disqus/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-multipart/multipart.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-toggle-chapters/toggle.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="basic_concepts.html" />
    
    
    <link rel="prev" href="./" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    简介
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2" data-path="getting_started.html">
            
                <a href="getting_started.html">
            
                    
                    入门指南
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="basic_concepts.html">
            
                <a href="basic_concepts.html">
            
                    
                    基本概念
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="installation.html">
            
                <a href="installation.html">
            
                    
                    安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="exploring_your_cluster.html">
            
                <a href="exploring_your_cluster.html">
            
                    
                    探索集群
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.3.1" data-path="cluster_health.html">
            
                <a href="cluster_health.html">
            
                    
                    集群健康度
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.2" data-path="list_all_indices.html">
            
                <a href="list_all_indices.html">
            
                    
                    列出所有索引
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.3" data-path="create_index.html">
            
                <a href="create_index.html">
            
                    
                    创建索引
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.4" data-path="index_and_query_a_document.html">
            
                <a href="index_and_query_a_document.html">
            
                    
                    索引和查询文档
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.5" data-path="delete_index.html">
            
                <a href="delete_index.html">
            
                    
                    删除索引
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="modifying_your_data.html">
            
                <a href="modifying_your_data.html">
            
                    
                    修改数据
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.4.1" data-path="updating_documents.html">
            
                <a href="updating_documents.html">
            
                    
                    更新文档
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4.2" data-path="deleting_documents.html">
            
                <a href="deleting_documents.html">
            
                    
                    删除文档
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4.3" data-path="batch_processing.html">
            
                <a href="batch_processing.html">
            
                    
                    批量操作
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="exploring_your_data.html">
            
                <a href="exploring_your_data.html">
            
                    
                    探索数据
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.5.1" data-path="the_search_api.html">
            
                <a href="the_search_api.html">
            
                    
                    搜索 API
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5.2" data-path="introducing_query_language.html">
            
                <a href="introducing_query_language.html">
            
                    
                    查询语言介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5.3" data-path="executing_searches.html">
            
                <a href="executing_searches.html">
            
                    
                    执行搜索
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5.4" data-path="executing_filters.html">
            
                <a href="executing_filters.html">
            
                    
                    执行过滤器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5.5" data-path="executing_aggregations.html">
            
                <a href="executing_aggregations.html">
            
                    
                    执行聚合
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="conclusion.html">
            
                <a href="conclusion.html">
            
                    
                    小结
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >入门指南</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x5165;&#x95E8;&#x6307;&#x5357;">&#x5165;&#x95E8;&#x6307;&#x5357;</h1>
<p>Elasticsearch &#x662F;&#x4E00;&#x4E2A;&#x9AD8;&#x6269;&#x5C55;&#x6027;&#x7684;&#x5F00;&#x6E90;&#x5168;&#x6587;&#x672C;&#x641C;&#x7D22;&#x548C;&#x5206;&#x6790;&#x5F15;&#x64CE;&#x3002;&#x5B83;&#x5141;&#x8BB8;&#x4F60;&#x5FEB;&#x901F;&#x7684;&#x548C;&#x63A5;&#x8FD1;&#x5B9E;&#x65F6;&#x7684;&#x53BB;&#x5B58;&#x50A8;&#xFF0C;&#x641C;&#x7D22;&#x548C;&#x5206;&#x6790;&#x5E9E;&#x5927;&#x7684;&#x6570;&#x636E;&#x96C6;&#x3002;&#x901A;&#x5E38;&#x88AB;&#x7528;&#x5728;&#x5177;&#x6709;&#x590D;&#x6742;&#x641C;&#x7D22;&#x529F;&#x80FD;&#x548C;&#x9700;&#x6C42;&#x7684;&#x5E94;&#x7528;&#x4E2D;&#x3002;</p>
<p>&#x8FD9;&#x91CC;&#x6709;&#x51E0;&#x4E2A; Ealsticsearch &#x7684;&#x4F7F;&#x7528;&#x6848;&#x4F8B;&#xFF1A;</p>
<ul>
<li>&#x4E00;&#x4E2A;&#x5728;&#x7EBF;&#x5546;&#x57CE;&#xFF0C;&#x5141;&#x8BB8;&#x7528;&#x6237;&#x641C;&#x7D22;&#x5546;&#x54C1;&#x3002;&#x5728;&#x8FD9;&#x79CD;&#x60C5;&#x51B5;&#x4E0B;&#xFF0C;&#x4F60;&#x53EF;&#x4EE5;&#x4F7F;&#x7528; Elasticsearch &#x5B58;&#x50A8;&#x5B8C;&#x6574;&#x7684;&#x5546;&#x54C1;&#x7C7B;&#x522B;&#x548C;&#x5E93;&#x5B58;&#xFF0C;&#x63D0;&#x4F9B;&#x641C;&#x7D22;&#x548C;&#x81EA;&#x52A8;&#x63A8;&#x8350;&#x7684;&#x529F;&#x80FD;&#x3002;</li>
<li>&#x4F60;&#x60F3;&#x8981;&#x6536;&#x96C6;&#x65E5;&#x5FD7;&#x548C;&#x4EA4;&#x6613;&#x4FE1;&#x606F;&#xFF0C;&#x5E76;&#x4E14;&#x60F3;&#x5206;&#x6790;&#x548C;&#x6316;&#x6398;&#x8FD9;&#x4E9B;&#x6570;&#x636E;&#xFF0C;&#x4EE5;&#x4FBF;&#x53BB;&#x89C2;&#x5BDF;&#x8D8B;&#x52BF;&#xFF0C;&#x62A5;&#x8868;&#xFF0C;&#x6458;&#x8981;&#x548C;&#x5F02;&#x5E38;&#x4FE1;&#x606F;&#x3002;&#x5728;&#x8FD9;&#x79CD;&#x60C5;&#x51B5;&#x4E0B;&#xFF0C;&#x4F60;&#x53EF;&#x4EE5;&#x4F7F;&#x7528; Logstash&#xFF08;Elasticsearch/Logstash/Kibana&#x7EC4;&#x6210;&#xFF09; &#x53BB;&#x6536;&#x96C6;&#xFF0C;&#x805A;&#x5408;&#x548C;&#x5206;&#x6790;&#x4F60;&#x7684;&#x6570;&#x636E;&#xFF0C;&#x518D;&#x7531; Logstash &#x628A;&#x8FD9;&#x4E9B;&#x6570;&#x636E;&#x5B58;&#x5165; Elasticsearch&#x3002;&#x4E00;&#x65E6;&#x6570;&#x636E;&#x5B58;&#x5165;&#x4E86; Elasticsearch&#xFF0C;&#x4F60;&#x53EF;&#x4EE5;&#x901A;&#x8FC7;&#x641C;&#x7D22;&#x548C;&#x805A;&#x5408;&#x53BB;&#x6316;&#x6398;&#x4F60;&#x611F;&#x5174;&#x8DA3;&#x7684;&#x6570;&#x636E;&#x3002;</li>
<li>&#x4E00;&#x4E2A;&#x4EF7;&#x683C;&#x9884;&#x8B66;&#x5E73;&#x53F0;&#xFF0C;&#x5B83;&#x53EF;&#x4EE5;&#x8BA9;&#x4EF7;&#x683C;&#x654F;&#x611F;&#x7684;&#x7528;&#x6237;&#x6307;&#x5B9A;&#x4E00;&#x4E2A;&#x89C4;&#x5219;&#xFF0C;&#x4F8B;&#x5982;&#xFF1A;&#x6211;&#x60F3;&#x4E70;&#x4E00;&#x4E2A;&#x7535;&#x5B50;&#x4EA7;&#x54C1;&#xFF0C;&#x53EA;&#x8981;&#x4E0B;&#x4E2A;&#x6708;&#x4EFB;&#x4F55;&#x5382;&#x5546;&#x7684;&#x4EF7;&#x683C;&#x4F4E;&#x4E8E;&#x67D0;&#x4E2A;&#x503C;&#x5C31;&#x901A;&#x77E5;&#x6211;&#x3002;&#x5728;&#x8FD9;&#x79CD;&#x60C5;&#x51B5;&#x4E0B;&#xFF0C;&#x4F60;&#x53EF;&#x4EE5;&#x6293;&#x53D6;&#x4F9B;&#x5E94;&#x5546;&#x4EF7;&#x683C;&#xFF0C;&#x628A;&#x5B83;&#x4EEC;&#x5B58;&#x5165; Elasticsearch&#xFF0C;&#x901A;&#x8FC7; reverse-search &#x7279;&#x6027;&#x53BB;&#x5339;&#x914D;&#x7528;&#x6237;&#x7684;&#x67E5;&#x8BE2;&#xFF0C;&#x4E00;&#x65E6;&#x5339;&#x914D;&#x5C31;&#x901A;&#x77E5;&#x7528;&#x6237;&#x3002;</li>
<li>&#x4F60;&#x60F3;&#x505A;&#x4E00;&#x4E2A;&#x667A;&#x80FD;&#x7CFB;&#x7EDF;&#xFF0C;&#x5728;&#x5927;&#x91CF;&#x6570;&#x636E;&#xFF08;&#x767E;&#x4E07;&#x548C;&#x4E0A;&#x4EBF;&#x7EA7;&#x522B;&#x7684;&#x6570;&#x636E;&#xFF09;&#x7684;&#x57FA;&#x7840;&#x4E0A;&#x505A;&#x8C03;&#x67E5;&#xFF0C;&#x5206;&#x6790;&#x548C;&#x5373;&#x95EE;&#x5373;&#x7B54;&#x3002;&#x5728;&#x8FD9;&#x79CD;&#x60C5;&#x51B5;&#x4E0B;&#xFF0C;&#x4F60;&#x53EF;&#x4EE5;&#x4F7F;&#x7528; Elasticsearch &#x5B58;&#x50A8;&#x4F60;&#x7684;&#x6570;&#x636E;&#xFF0C;&#x7136;&#x540E;&#x901A;&#x8FC7; Kibana &#x5B9A;&#x5236; dashboards &#x53BB;&#x53EF;&#x89C6;&#x5316;&#x5BF9;&#x4F60;&#x91CD;&#x8981;&#x7684;&#x6570;&#x636E;&#x3002;&#x6B64;&#x5916;&#xFF0C;&#x4F60;&#x8FD8;&#x53EF;&#x4EE5;&#x4F7F;&#x7528; Elasticsearch &#x7684;&#x805A;&#x5408;&#x529F;&#x80FD;&#x53BB;&#x6267;&#x884C;&#x590D;&#x6742;&#x7684;&#x67E5;&#x8BE2;&#x3002;</li>
</ul>
<p>&#x63A5;&#x4E0B;&#x6765;&#xFF0C;&#x6211;&#x5C06;&#x4F1A;&#x6307;&#x5BFC;&#x4F60;&#x5982;&#x4F55;&#x542F;&#x52A8;&#x548C;&#x8FD0;&#x884C; Elasticsearch&#xFF0C;&#x4E00;&#x7AA5;&#x5B83;&#x7684;&#x5185;&#x90E8;&#xFF0C;&#x6267;&#x884C;&#x50CF;&#x7D22;&#x5F15;&#xFF0C;&#x641C;&#x7D22;&#x548C;&#x4FEE;&#x6539;&#x6570;&#x636E;&#x8FD9;&#x6837;&#x7684;&#x57FA;&#x7840;&#x64CD;&#x4F5C;&#x3002;&#x5728;&#x6559;&#x7A0B;&#x7684;&#x6700;&#x540E;&#xFF0C;&#x4F60;&#x4F1A;&#x5F88;&#x597D;&#x7684;&#x4E86;&#x89E3; Elasticsearch &#x662F;&#x4EC0;&#x4E48;&#xFF0C;&#x662F;&#x5982;&#x4F55;&#x5DE5;&#x4F5C;&#x7684;&#xFF0C;&#x5E0C;&#x671B;&#x53EF;&#x4EE5;&#x542F;&#x53D1;&#x4F60;&#x5982;&#x4F55;&#x4F7F;&#x7528; Elasticsearch &#x53BB;&#x6784;&#x5EFA;&#x590D;&#x6742;&#x7684;&#x641C;&#x7D22;&#x5E94;&#x7528;&#x548C;&#x6316;&#x6398;&#x6570;&#x636E;&#x3002;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="./" class="navigation navigation-prev " aria-label="Previous page: 简介">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="basic_concepts.html" class="navigation navigation-next " aria-label="Next page: 基本概念">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"入门指南","level":"1.2","depth":1,"next":{"title":"基本概念","level":"1.2.1","depth":2,"path":"basic_concepts.md","ref":"basic_concepts.md","articles":[]},"previous":{"title":"简介","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["disqus","github","github-buttons","multipart","toggle-chapters","livereload"],"pluginsConfig":{"disqus":{"useIdentifier":false,"shortName":"liuzxc"},"github":{"url":"https://github.com/liuzxc/Elasticsearch_reference_cn.git"},"livereload":{},"search":{},"multipart":{},"lunr":{"maxIndexSize":1000000},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"github-buttons":{"repo":"liuzxc/Elasticsearch_reference_cn","types":["star","watch"]},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"toggle-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"getting_started.md","mtime":"2016-07-07T08:12:50.000Z","type":"markdown"},"gitbook":{"version":"3.1.1","time":"2016-07-07T15:30:51.488Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="https://cdnjs.cloudflare.com/ajax/libs/URI.js/1.16.1/URI.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-disqus/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-toggle-chapters/toggle.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

